import React, { Component } from 'react'
import Home from './Home'
import ThemeContext from './context/home-context'
import UserContext from './context/user-context'
export class App extends Component {
  render() {
    return (
      <div>
        <UserContext.Provider value={{name:"张三",age:18}}>
        <ThemeContext.Provider value={{color:"red",size:"19px"}}>
          <Home></Home>
        </ThemeContext.Provider>
        </UserContext.Provider>
      </div>
    )
  }
}

export default App
